<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
	<h:panelGrid columns="1" style="margin-bottom:10px; width: 400px;">
		<p:fileUpload fileUploadListener="#{TreeBean.fileUpload}"
			label="#{msg.label_choosefile}" cancelLabel="#{msg.label_cancel}"
			uploadLabel="#{msg.label_uploadfile}" mode="advanced"
			update=":frmMenu:listTree"
			allowTypes="/(\.|\/)(gif|jpe?g|png|txt|pdf)$/" />
	</h:panelGrid>
</ui:composition>